//
//  AppDelegate.m
//  JewelryStore
//
//  Created by lcs on 16/9/26.
//  Copyright © 2016年 com. All rights reserved.
//

#import "AppDelegate.h"
#import "ATAppUpdater.h"
#import "AppDelegate+Umeng.h"
#import "QMUIConfigurationTemplate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    [QMUIConfigurationTemplate setupConfigurationTemplate];
    
    [QMUIConfigurationManager renderGlobalAppearances];
    
    //更新提示
    [[ATAppUpdater sharedUpdater] showUpdateWithConfirmation];
    
    //友盟
    [AppDelegate setupUmengShare];
    return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application {}


- (void)applicationDidEnterBackground:(UIApplication *)application {}


- (void)applicationWillEnterForeground:(UIApplication *)application {}


- (void)applicationDidBecomeActive:(UIApplication *)application {

    //更新提示
    [[ATAppUpdater sharedUpdater] showUpdateWithConfirmation];

}


- (void)applicationWillTerminate:(UIApplication *)application {}


@end
